package OOday01;

public class Person1 {

        String name;
        int age;
        String address;
        void eat(){
            System.out.println(name+"正在吃...");
        }
        void sleep(){
            System.out.println(name+"正在睡觉。。。");
        }void sayhi(){
        System.out.println("大家好我叫"+name+"今年"+age+"岁了"+"家住在"+address);
    }

}

